package com.example.mapper;


import com.example.entity.GreenHouse;
import com.example.entity.User;

import java.util.List;


public interface GreenHouseMapper {

    GreenHouse getGreenHouseBycode(String code);

    void createGreenHouse(GreenHouse greenHouse);

    boolean updateGreenHouse(GreenHouse greenHouse);

    GreenHouse getGreenHouseById(GreenHouse greenHouse);

    List<GreenHouse> getGreenHouseList();

    Integer getNum();
}
